package com.ithiema.reggie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//开启
@ServletComponentScan
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching//开启注解是缓存
public class ReggieWaimaiApplication {

    public static void main(String[] args) {
        SpringApplication.
                run(ReggieWaimaiApplication.class, args);
        System.out.println("启动成功");
    }

}
